<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pageData.title}</title>
		<link rel="stylesheet" href="__STATIC__/manage/css/admin.css" />
		<link rel="stylesheet" href="__STATIC__/manage/js/layui/css/layui.css" />
		<script type="text/javascript" src="__STATIC__/manage/js/jquery.min.js"></script>
		{include file="inc/script" /}
		<script type="text/javascript" src="__STATIC__/manage/js/public.js"></script>
		<script type="text/javascript" src="__STATIC__/manage/js/layui/layui.js"></script>
	</head>

	<body>
		<div class="right-center height-at" style="overflow: auto;">
			<div class="center-tit magin0">{$pageData.title}
				<a href="{:url('bonus.show/index')}" class="layui-btn layui-btn-slast layui-btn-tr"><i class="layui-icon" style="font-size: 12px;">&#xe65a;</i>返回列表</a>
			</div>

			<div class="layui-cion-pz">
				<fieldset class="layui-elem-field">
					<legend>
						<a href="javascript:void(0);" onclick="addCion()" class="layui-btn layui-btn-sm layui-btn-normal layui-btn-ff"><i class="layui-icon">&#xe654;</i>增加货币配置</a>
					</legend>
					<div class="layui-field-box">
						<div id="coinConfig" style="margin-top: 15px;">
							<form id="coinForm">

							</form>
							<div class="layui-form-item">
								<div class="layui-input-block">
									<input type="button" data-method="SubmitCoin" class="right-btn layui-btn layui-btn-ff" value="提交保存">
								</div>
							</div>

						</div>
					</div>
				</fieldset>

			</div>

			<div class="layui-cion-pz">
				<fieldset class="layui-elem-field">
					<legend>
						<a href="javascript:void(0);" onclick="addLevel()" class="layui-btn layui-btn-sm layui-btn-normal layui-btn-ff"><i class="layui-icon">&#xe654;</i>增加邀请人配置</a>
					</legend>
					<div class="layui-field-box" id="level-list">
						
						
						
					</div>
					<div class="layui-form-item">
								<div class="layui-input-block">
									<input type="button" data-method="SubmitLevel" class="right-btn layui-btn layui-btn-ff" value="提交保存">
								</div>
							</div>
				</fieldset>
			</div>
			
			

		</div>

		<script>
			var coin = '{$coinData|json_encode}';
			var level = '{$levelData|json_encode}';
			var coinpzSrc = "{:url('bonus.api/bonus_config')}";
			var SubmitCoinSrc = "{:url('bonus.handle/addConfig')}";
		</script>
		<script type="text/javascript" src="__STATIC__/manage/js/bonus/show/lingshou.js"></script>
	</body>

</html>